(C) 1996 AROS - The Amiga Replacement OS


NAME
void PutMsg()
SYNOPSIS
struct MsgPort * port
struct Message * message

LOCATION
In SysBase at offset 61
FUNCTION
Sends a message to a given message port. Messages are not copied from one task to another but must lie in shared memory instead. Therefore the owner of the message may generally not reuse it before it is returned. But this depends on the two tasks sharing the message.

INPUTS
port
Pointer to messageport.
message
Pointer to message.
RESULT
NOTES
It is legal to send a message from within interrupts.

Messages may either trigger a signal at the owner of the messageport or raise a software interrupt, depending on port->mp_Flags&PF_ACTION.

EXAMPLE
BUGS
SEE ALSO
WaitPort(), GetMsg()
INTERNALS
HISTORY
12.05.1997 aros
Fixed all headers
13.02.1997 ldp
Added extra check: take no signalling action if mp_SigTask==0. This fixes streams of Enforcer hits coming from input.device (does input.device make assumptions about ReplyMsg()/PutMsg() internal functioning?
01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS